package com.seal.commons.validator.jsr303;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payload;

@Target(value={ElementType.METHOD,
        ElementType.FIELD,
        ElementType.CONSTRUCTOR,
        ElementType.PARAMETER})
@Retention(value=RetentionPolicy.RUNTIME)
@Constraint(validatedBy = BankCardNumValidator.class)
public @interface BankCardNum {
    String message() default "bankcardnum.invalid";  
    
    Class<?>[] groups() default {};  
  
    Class<? extends Payload>[] payload() default {};
}
